<?php

namespace App\Models\Encyclopedia;

use App\Ant\WithAuthor;
use Illuminate\Database\Eloquent\Model;

class Category extends Model
{
    use WithAuthor;

    protected $table = 'encyclopedia_category';

    protected $fillable = ['name', 'code', 'describe', 'keyword', 'status', 'author_id', 'title'];

    protected $casts = [
        'status' => 'boolean'
    ];
}
